//
//  Shopping_cat_TableViewCell.h
//  DA_V
//
//  Created by 中亿世联前台 on 15/4/22.
//  Copyright (c) 2015年 zhouhai. All rights reserved.
//

#import <UIKit/UIKit.h>
@class CarModel;
@protocol Shopping_cat_TableViewCellDelegate<NSObject>

@optional
- (void)shopping_cat_TableViewCellEnd:(id)sender;                          //点击添加商品数目结束代理方法
- (void)deleteCarProductEnd:(id)sender;                                    //删除购物车结束代理方法

- (void)showTableVierFram:(id)sender;
- (void)showTableVierFramEnd:(id)sender;
@end

@interface Shopping_cat_TableViewCell : UITableViewCell<UITextFieldDelegate,UIAlertViewDelegate>
@property (weak, nonatomic) IBOutlet UIImageView *shoppingImage;//商品图片
@property (weak, nonatomic) IBOutlet UILabel *shoppingName;     //商品名
@property (weak, nonatomic) IBOutlet UILabel *price;            //商品价格
@property (weak, nonatomic) IBOutlet UIButton *subtractNum;     //减商品
@property (weak, nonatomic) IBOutlet UIButton *shoppNum;         //商品数目
@property (weak, nonatomic) IBOutlet UIButton *addNum;          //加商品数目
@property (weak, nonatomic) IBOutlet UIButton *deleteBut;       //删除商品

@property (weak, nonatomic) IBOutlet UILabel *linelabel;
@property (strong, nonatomic)        CarModel *carModel;

@property (weak, nonatomic) id<Shopping_cat_TableViewCellDelegate>shopping_cat_TableViewCellDelegate;

- (void)showMyCar:(id)data;
@end
